package top.zackyoung.demo.entity;

import java.util.List;

/**
 * @author: ZackYoung
 * @time: 2020/9/17
 */
public class Result<T> {
    //1:有老师无学生，2：有学生无老师，3：老师，学生皆有，4:老师学生皆无
    private int code;
    private List<T> t;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<T> getT() {
        return t;
    }

    public void setT(List<T> t) {
        this.t = t;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
